메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Forward call to wrapped writer.
|
|
Flush ( ) : void |
Forward call to wrapped writer.
|
|
Init ( |
Initialize the cache. Use this method instead of a constructor in order to reuse the cache.
|
|
WriteComment ( string text ) : void | ||
WriteEndAttribute ( ) : void |
No-op.
|
|
WriteEntityRef ( string name ) : void | ||
WriteProcessingInstruction ( string name, string text ) : void | ||
WriteStartAttribute ( string prefix, string localName, string ns ) : void |
Add an attribute to the cache. If an attribute if the same name already exists, replace it.
|
|
WriteStartElement ( string prefix, string localName, string ns ) : void | ||
WriteString ( string text ) : void |
Add a block of text to the cache. This text block makes up some or all of the untyped string value of the current attribute.
|
|
WriteValue ( object value ) : void |
All other WriteValue methods are implemented by XmlWriter to delegate to WriteValue(object) or WriteValue(string), so only these two methods need to be implemented.
|
|
WriteValue ( string value ) : void |
메소드 | 설명 | |
---|---|---|
EnsureAttributeCache ( ) : void |
Ensure that attribute array has been created and is large enough for at least one additional entry.
|
|
FlushAttributes ( ) : void | ||
SetWrappedWriter ( |
The wrapped writer will callback on this method if it wishes to remove itself from the pipeline.
|
|
StartElementContent ( ) : void |
Send cached, non-overriden attributes to the specified writer. Calling this method has the side effect of clearing the attribute cache.
|
|
WriteEndElement ( string prefix, string localName, string ns ) : void | ||
WriteNamespaceDeclaration ( string prefix, string ns ) : void |
Pass through namespaces to underlying writer. If any attributes have been cached, flush them.
|
public WriteProcessingInstruction ( string name, string text ) : void | ||
name | string | |
text | string | |
리턴 | void |
public WriteStartAttribute ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteStartElement ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |