Package net.sf.saxon.event
Class ReceiverOptions
java.lang.Object
net.sf.saxon.event.ReceiverOptions
ReceiverOptions defines a set of constants, which can be used in
calls to methods on the Receiver interface. The values are
bit-significant.
- Author:
- Michael H. Kay
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Flag indicating that an attribute value was added by the schema processor because a default value was specifiedstatic final int
Flag to disable use of character mapsstatic final int
Flag to disable output escapingstatic final int
Flag passed on startElement indicating that the element does not inherit the namespaces of its ancestors.static final int
Flag indicating that the ID/IDREF properties have been set if applicable: if this bit is set, then the absence of the IS_ID bit means the node is not an ID, and similarly for IS_IDREFstatic final int
Flag indicating an element or attribute that has the is-id propertystatic final int
Flag indicating an element or attribute that has the is-idref propertystatic final int
Flag indicating that the namespace (of an element or attribute name) has already been declared; it does not need to be generated by the namespace fixup process.static final int
Flag used with character content that has been validated against a nillable element declaration.static final int
Flag indicating that the value contains no special characters that need to be escapedstatic final int
Flag indicating that duplicate values should be rejectedstatic final int
Flag used when an attribute value or text node contains null characters before and after strings generated by character mapping; these strings are to be output without escapingstatic final int
Flag used with the characters() event to indicate that the event represents an entire text node, that is, the text node has not been fragmented over several characters() events -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DISABLE_ESCAPING
public static final int DISABLE_ESCAPINGFlag to disable output escaping- See Also:
-
DISABLE_CHARACTER_MAPS
public static final int DISABLE_CHARACTER_MAPSFlag to disable use of character maps- See Also:
-
NO_SPECIAL_CHARS
public static final int NO_SPECIAL_CHARSFlag indicating that the value contains no special characters that need to be escaped- See Also:
-
DEFAULTED_ATTRIBUTE
public static final int DEFAULTED_ATTRIBUTEFlag indicating that an attribute value was added by the schema processor because a default value was specified- See Also:
-
REJECT_DUPLICATES
public static final int REJECT_DUPLICATESFlag indicating that duplicate values should be rejected- See Also:
-
NAMESPACE_OK
public static final int NAMESPACE_OKFlag indicating that the namespace (of an element or attribute name) has already been declared; it does not need to be generated by the namespace fixup process.- See Also:
-
DISINHERIT_NAMESPACES
public static final int DISINHERIT_NAMESPACESFlag passed on startElement indicating that the element does not inherit the namespaces of its ancestors.- See Also:
-
USE_NULL_MARKERS
public static final int USE_NULL_MARKERSFlag used when an attribute value or text node contains null characters before and after strings generated by character mapping; these strings are to be output without escaping- See Also:
-
NILLABLE_ELEMENT
public static final int NILLABLE_ELEMENTFlag used with character content that has been validated against a nillable element declaration. Needed because of a peculiar rule for validating xs:key values- See Also:
-
WHOLE_TEXT_NODE
public static final int WHOLE_TEXT_NODEFlag used with the characters() event to indicate that the event represents an entire text node, that is, the text node has not been fragmented over several characters() events- See Also:
-
IS_ID
public static final int IS_IDFlag indicating an element or attribute that has the is-id property- See Also:
-
IS_IDREF
public static final int IS_IDREFFlag indicating an element or attribute that has the is-idref property- See Also:
-
ID_IDREF_CHECKED
public static final int ID_IDREF_CHECKEDFlag indicating that the ID/IDREF properties have been set if applicable: if this bit is set, then the absence of the IS_ID bit means the node is not an ID, and similarly for IS_IDREF- See Also:
-
-
Constructor Details
-
ReceiverOptions
public ReceiverOptions()
-