프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddNamespace | void | ||
CheckAttributePrefix | string | ||
ConstructInEnumAttrs | void | ||
ConstructWithinContent | void | ||
CopyNamespaces | void | ||
CopyNamespacesHelper | void | ||
CopyNode | void | ||
EndCopy | void | ||
EnsureValidName | string | ||
PopElementNames | void | ||
PushElementNames | void | ||
RemapPrefix | string | ||
SetWrappedWriter | void | ||
StartCopy | bool | ||
ThrowInvalidStateError | void | ||
WriteCachedNamespaces | void | ||
WriteStartComputed | void | ||
WriteStartComputed | void | ||
WriteStartComputed | void | ||
WriteStartComputed | void | ||
WriteString | void | ||
XmlQueryOutput | System | ||
XmlQueryOutput | System | ||
XmlStateToNodeType | XPathNodeType |
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
No-op.
|
|
EndCopy ( |
End shallow copy of the navigator's current node. Should be called only for Element and Document nodes.
|
|
EndTree ( ) : void |
Call XmlSequenceWriter.EndTree().
|
|
Flush ( ) : void |
No-op.
|
|
LookupPrefix ( string ns ) : string |
Should never be called.
|
|
StartCopy ( |
Begin shallow copy of the navigator's current node to output. Returns true if EndCopy should be called to complete the copy operation. Automatically copies all in-scope namespaces on elements.
|
|
StartElementContentUnchecked ( ) : void |
Call XmlRawWriter.StartElementContent().
|
|
StartTree ( XPathNodeType rootType ) : void |
Call XmlSequenceWriter.StartTree() in order to start construction of a new tree.
|
|
WriteBase64 ( byte buffer, int index, int count ) : void |
Should never be called.
|
|
WriteCData ( string text ) : void |
Write CData text as regular text.
|
|
WriteCharEntity ( char ch ) : void |
Should never be called.
|
|
WriteChars ( char buffer, int index, int count ) : void |
Before writing text, perform various checks to ensure well-formedness.
|
|
WriteComment ( string text ) : void |
Before writing a comment, perform various checks to ensure well-formedness.
|
|
WriteCommentString ( string text ) : void |
Cache the comment's text.
|
|
WriteDocType ( string name, string pubid, string sysid, string subset ) : void |
Should never be called.
|
|
WriteEndAttribute ( ) : void |
Before calling XmlRawWriter.WriteEndAttribute(), perform various checks to ensure well-formedness.
|
|
WriteEndAttributeUnchecked ( ) : void |
XmlRawWriter.WriteEndAttribute().
|
|
WriteEndComment ( ) : void |
Before writing a comment, perform various checks to ensure well-formedness.
|
|
WriteEndDocument ( ) : void |
Should never be called.
|
|
WriteEndElement ( ) : void |
Before calling XmlRawWriter.WriteEndElement(), perform various checks to ensure well-formedness.
|
|
WriteEndElementUnchecked ( string localName ) : void |
Call XmlRawWriter.WriteEndElement() with empty prefix, ns.
|
|
WriteEndElementUnchecked ( string prefix, string localName, string ns ) : void |
Call XmlRawWriter.WriteEndElement() with prefix, local-name, and ns.
|
|
WriteEndNamespace ( ) : void |
Before writing a namespace, perform various checks to ensure well-formedness.
|
|
WriteEndProcessingInstruction ( ) : void |
Before writing a processing instruction, perform various checks to ensure well-formedness.
|
|
WriteEndRoot ( ) : void |
Call XmlSequenceWriter.EndTree() and reset state.
|
|
WriteEntityRef ( string name ) : void |
Should never be called.
|
|
WriteFullEndElement ( ) : void |
Same as calling WriteEndElement().
|
|
WriteItem ( |
Write an item to output. If currently constructing an Xml tree, then the item is always copied. At the top-level, the item's identity is preserved unless it's an atomic value.
|
|
WriteNamespaceDeclaration ( string prefix, string ns ) : void |
Before calling XmlRawWriter.WriteNamespaceDeclaration(), perform various checks to ensure well-formedness.
|
|
WriteNamespaceDeclarationUnchecked ( string prefix, string ns ) : void |
Add a new namespace declaration -- xmlns:prefix="ns" -- to the set of in-scope declarations. NOTE: This method should only be called if caller can guarantee that the current state is EnumAttrs and that there will be no namespace conflicts in the current scope (e.g. trying to map the same prefix to different namespaces within the same element start tag). If no such guarantees exist, then WriteNamespaceDeclaration() should be called instead.
|
|
WriteNamespaceString ( string text ) : void |
Cache the namespace's text.
|
|
WriteProcessingInstruction ( string target, string text ) : void |
Before writing a processing instruction, perform various checks to ensure well-formedness.
|
|
WriteProcessingInstructionString ( string text ) : void |
Cache the processing instruction's text.
|
|
WriteRaw ( char buffer, int index, int count ) : void |
Write text, but do not escape special characters.
|
|
WriteRaw ( string data ) : void |
Write text, but do not escape special characters.
|
|
WriteRawUnchecked ( string text ) : void |
Write a text block without escaping special characters.
|
|
WriteStartAttribute ( string prefix, string localName, string ns ) : void |
Before calling XmlRawWriter.WriteStartAttribute(), perform various checks to ensure well-formedness.
|
|
WriteStartAttributeComputed ( |
Write an attribute with a name that is copied from the navigator.
|
|
WriteStartAttributeComputed ( |
Write an attribute with a name that is derived from the XmlQualifiedName.
|
|
WriteStartAttributeComputed ( string tagName, int prefixMappingsIndex ) : void |
Write an attribute with a name that is computed from a "prefix:localName" tag name and a set of prefix mappings.
|
|
WriteStartAttributeComputed ( string tagName, string ns ) : void |
Write an attribute with a name that is computed from a "prefix:localName" tag name and a namespace URI.
|
|
WriteStartAttributeLocalName ( string localName ) : void |
WriteStartAttribute() with empty prefix, ns, and null schema type.
|
|
WriteStartAttributeUnchecked ( string localName ) : void |
XmlRawWriter.WriteStartAttribute() with empty prefix, ns, and null schema type.
|
|
WriteStartAttributeUnchecked ( string prefix, string localName, string ns ) : void |
XmlRawWriter.WriteStartAttribute() with prefix, local-name, ns, and schema type.
|
|
WriteStartComment ( ) : void |
Before writing a comment, perform various checks to ensure well-formedness.
|
|
WriteStartDocument ( ) : void |
Should never be called.
|
|
WriteStartDocument ( bool standalone ) : void |
Should never be called.
|
|
WriteStartElement ( string prefix, string localName, string ns ) : void |
Before calling XmlRawWriter.WriteStartElement(), perform various checks to ensure well-formedness.
|
|
WriteStartElementComputed ( |
Write an element with a name that is copied from the navigator.
|
|
WriteStartElementComputed ( |
Write an element with a name that is derived from the XmlQualifiedName.
|
|
WriteStartElementComputed ( string tagName, int prefixMappingsIndex ) : void |
Write an element with a name that is computed from a "prefix:localName" tag name and a set of prefix mappings.
|
|
WriteStartElementComputed ( string tagName, string ns ) : void |
Write an element with a name that is computed from a "prefix:localName" tag name and a namespace URI.
|
|
WriteStartElementLocalName ( string localName ) : void |
WriteStartElement() with empty prefix, ns.
|
|
WriteStartElementUnchecked ( string localName ) : void |
Call XmlRawWriter.WriteStartElement() with empty prefix, ns, and null schema type.
|
|
WriteStartElementUnchecked ( string prefix, string localName, string ns ) : void |
Call XmlRawWriter.WriteStartElement() with prefix, local-name, ns, and schema type.
|
|
WriteStartNamespace ( string prefix ) : void |
Before writing a namespace, perform various checks to ensure well-formedness.
|
|
WriteStartProcessingInstruction ( string target ) : void |
Before writing a processing instruction, perform various checks to ensure well-formedness.
|
|
WriteStartRoot ( ) : void |
Before calling XmlSequenceWriter.StartTree(), perform checks to ensure well-formedness.
|
|
WriteString ( string text ) : void |
Before writing text, perform various checks to ensure well-formedness.
|
|
WriteStringUnchecked ( string text ) : void |
Write a text block to the XmlRawWriter.
|
|
WriteSurrogateCharEntity ( char lowChar, char highChar ) : void |
Should never be called.
|
|
WriteWhitespace ( string ws ) : void |
Treat whitespace as regular text.
|
|
XsltCopyOf ( |
Copy a node by value to output according to Xslt rules: 1. Identity is never preserved 2. If the item is an Rtf, preserve serialization hints when copying. 3. If the item is a Root node, copy the children of the Root
|
메소드 | 설명 | |
---|---|---|
AddNamespace ( string prefix, string ns ) : void |
Add an in-scope namespace.
|
|
CheckAttributePrefix ( string prefix, string ns ) : string |
If attribute's prefix conflicts with other prefixes then redeclare the prefix. If the prefix has not yet been declared, then add it to the namespace manager.
|
|
ConstructInEnumAttrs ( XPathNodeType rootType ) : void |
Ensure that state transitions to EnumAttrs.
|
|
ConstructWithinContent ( XPathNodeType rootType ) : void |
Ensure that state transitions to WithinContent.
|
|
CopyNamespaces ( |
Copy all namespaces of the specified type (in-scope, exclude-xml, local) in document order to output.
|
|
CopyNamespacesHelper ( |
Recursive helper function that reverses order of the namespaces retrieved by MoveToFirstNamespace and MoveToNextNamespace.
|
|
CopyNode ( |
Deep copy the subtree that is rooted at this navigator's current position to output. If the current item is an element, copy all in-scope namespace nodes.
|
|
EndCopy ( |
End shallow copy of the navigator's current node to output. This method should only be called if StartCopy returned true.
|
|
EnsureValidName ( string prefix, string localName, string ns, XPathNodeType nodeType ) : string |
Ensure that the specified name parts are valid according to Xml 1.0 and Namespace 1.0 rules. Try to remap the prefix in order to attain validity. Throw if validity is not possible. Otherwise, return the (possibly remapped) prefix.
|
|
PopElementNames ( string &prefix, string &localName, string &ns ) : void |
Pop element name parts from the stack.
|
|
PushElementNames ( string prefix, string localName, string ns ) : void |
Push element name parts onto the stack.
|
|
RemapPrefix ( string prefix, string ns, bool isElemPrefix ) : string |
Remaps an element or attribute prefix using the following rules: 1. If another in-scope prefix is already mapped to "ns", then use that 2. Otherwise, if a prefix was previously mapped to "ns" by this method, then use that 3. Otherwise, generate a new prefix of the form 'xp_??', where ?? is a stringized counter These rules tend to reduce the number of unique prefixes used throughout the tree.
|
|
SetWrappedWriter ( |
This method will be called if "xwrt" is a writer which no longer needs to be part of the pipeline and wishes to replace itself with a different writer. For example, the auto-detect writer replaces itself with the Html or Xml writer once it has determined which output mode to use.
|
|
StartCopy ( |
Begin shallow copy of the navigator's current node to output. Returns true if EndCopy should be called to complete the copy operation.
|
|
ThrowInvalidStateError ( XPathNodeType constructorType ) : void |
Throw an invalid state transition error.
|
|
WriteCachedNamespaces ( ) : void |
Namespace declarations are added to this.nsmgr. Just before element content has begun, write out all namespaces that were declared locally on the element.
|
|
WriteStartComputed ( XPathNodeType nodeType, |
Write an element or attribute with a name that is copied from the navigator.
|
|
WriteStartComputed ( XPathNodeType nodeType, |
Write an element or attribute with a name that is derived from the XmlQualifiedName.
|
|
WriteStartComputed ( XPathNodeType nodeType, string tagName, int prefixMappingsIndex ) : void |
Write an element or attribute with a name that is computed from a "prefix:localName" tag name and a set of prefix mappings.
|
|
WriteStartComputed ( XPathNodeType nodeType, string tagName, string ns ) : void |
Write an element or attribute with a name that is computed from a "prefix:localName" tag name and a namespace URI.
|
|
WriteString ( string text, bool disableOutputEscaping ) : void |
Before writing text, perform various checks to ensure well-formedness.
|
|
XmlQueryOutput ( |
This constructor is internal so that external users cannot construct it (and therefore we do not have to test it separately). Initialize output state to accept Rtf content (top-level sequences are therefore prohibited).
|
|
XmlQueryOutput ( |
This constructor is internal so that external users cannot construct it (and therefore we do not have to test it separately). Initialize output state to accept top-level sequences.
|
|
XmlStateToNodeType ( XmlState xstate ) : XPathNodeType |
Return the type of node that is under construction given the specified XmlState.
|
public EndCopy ( |
||
navigator | ||
리턴 | void |
public StartCopy ( |
||
navigator | ||
리턴 | bool |
public StartTree ( XPathNodeType rootType ) : void | ||
rootType | XPathNodeType | |
리턴 | void |
public WriteBase64 ( byte buffer, int index, int count ) : void | ||
buffer | byte | |
index | int | |
count | int | |
리턴 | void |
public WriteChars ( char buffer, int index, int count ) : void | ||
buffer | char | |
index | int | |
count | int | |
리턴 | void |
public WriteDocType ( string name, string pubid, string sysid, string subset ) : void | ||
name | string | |
pubid | string | |
sysid | string | |
subset | string | |
리턴 | void |
public WriteEndElementUnchecked ( string localName ) : void | ||
localName | string | |
리턴 | void |
public WriteEndElementUnchecked ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteItem ( |
||
item | ||
리턴 | void |
public WriteNamespaceDeclaration ( string prefix, string ns ) : void | ||
prefix | string | |
ns | string | |
리턴 | void |
public WriteNamespaceDeclarationUnchecked ( string prefix, string ns ) : void | ||
prefix | string | |
ns | string | |
리턴 | void |
public WriteNamespaceString ( string text ) : void | ||
text | string | |
리턴 | void |
public WriteProcessingInstruction ( string target, string text ) : void | ||
target | string | |
text | string | |
리턴 | void |
public WriteProcessingInstructionString ( string text ) : void | ||
text | string | |
리턴 | void |
public WriteRaw ( char buffer, int index, int count ) : void | ||
buffer | char | |
index | int | |
count | int | |
리턴 | void |
public WriteStartAttribute ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteStartAttributeComputed ( |
||
navigator | ||
리턴 | void |
public WriteStartAttributeComputed ( |
||
name | ||
리턴 | void |
public WriteStartAttributeComputed ( string tagName, int prefixMappingsIndex ) : void | ||
tagName | string | |
prefixMappingsIndex | int | |
리턴 | void |
public WriteStartAttributeComputed ( string tagName, string ns ) : void | ||
tagName | string | |
ns | string | |
리턴 | void |
public WriteStartAttributeLocalName ( string localName ) : void | ||
localName | string | |
리턴 | void |
public WriteStartAttributeUnchecked ( string localName ) : void | ||
localName | string | |
리턴 | void |
public WriteStartAttributeUnchecked ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteStartDocument ( bool standalone ) : void | ||
standalone | bool | |
리턴 | void |
public WriteStartElement ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteStartElementComputed ( |
||
navigator | ||
리턴 | void |
public WriteStartElementComputed ( |
||
name | ||
리턴 | void |
public WriteStartElementComputed ( string tagName, int prefixMappingsIndex ) : void | ||
tagName | string | |
prefixMappingsIndex | int | |
리턴 | void |
public WriteStartElementComputed ( string tagName, string ns ) : void | ||
tagName | string | |
ns | string | |
리턴 | void |
public WriteStartElementLocalName ( string localName ) : void | ||
localName | string | |
리턴 | void |
public WriteStartElementUnchecked ( string localName ) : void | ||
localName | string | |
리턴 | void |
public WriteStartElementUnchecked ( string prefix, string localName, string ns ) : void | ||
prefix | string | |
localName | string | |
ns | string | |
리턴 | void |
public WriteStartNamespace ( string prefix ) : void | ||
prefix | string | |
리턴 | void |
public WriteStartProcessingInstruction ( string target ) : void | ||
target | string | |
리턴 | void |
public WriteStringUnchecked ( string text ) : void | ||
text | string | |
리턴 | void |
public WriteSurrogateCharEntity ( char lowChar, char highChar ) : void | ||
lowChar | char | |
highChar | char | |
리턴 | void |
public XsltCopyOf ( |
||
navigator | ||
리턴 | void |