Here are the examples of the java api com.sun.org.apache.xerces.internal.xni.Augmentations taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
276 Examples
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* The end of a CDATA section.
*
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void endCDATA(Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.endCDATA(augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* A processing instruction. Processing instructions consist of a
* target name and, optionally, text data. The data is only meaningful
* to the application.
* <p>
* Typically, a processing instruction's data will contain a series
* of pseudo-attributes. These pseudo-attributes follow the form of
* element attributes but are <strong>not</strong> parsed or presented
* to the application as anything other than text. The application is
* responsible for parsing the data.
*
* @param target The target.
* @param data The data or null if none specified.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.processingInstruction(target, data, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* Ignorable whitespace. For this method to be called, the doreplacedent
* source must have some way of determining that the text containing
* only whitespace characters should be considered ignorable. For
* example, the validator can determine if a length of whitespace
* characters in the doreplacedent are ignorable based on the element
* content model.
*
* @param text The ignorable whitespace.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void ignorableWhitespace(XMLString text, Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.ignorableWhitespace(text, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* Character content.
*
* @param text The content.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void characters(XMLString text, Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.characters(text, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* @see com.sun.org.apache.xerces.internal.xpointer.XPointerProcessor#resolveXPointer(com.sun.org.apache.xerces.internal.xni.QName, com.sun.org.apache.xerces.internal.xni.XMLAttributes, com.sun.org.apache.xerces.internal.xni.Augmentations, int event)
*/
public boolean resolveXPointer(QName element, XMLAttributes attributes, Augmentations augs, int event) throws XNIException {
boolean resolved = false;
// The result of the first pointer part whose evaluation identifies
// one or more subresources is reported by the XPointer processor as the
// result of the pointer as a whole, and evaluation stops.
// In our implementation, typically the first xpointer scheme that
// matches an element is the doreplacedent is considered.
// If the pointer part resolved then use it, else search for the fragment
// using next pointer part from lef-right.
if (!fFoundMatchingPtrPart) {
// for each element, attempt to resolve it against each pointer part
// in the XPointer expression until a matching element is found.
for (int i = 0; i < fXPointerParts.size(); i++) {
fXPointerPart = (XPointerPart) fXPointerParts.get(i);
if (fXPointerPart.resolveXPointer(element, attributes, augs, event)) {
fFoundMatchingPtrPart = true;
resolved = true;
}
}
} else {
if (fXPointerPart.resolveXPointer(element, attributes, augs, event)) {
resolved = true;
}
}
if (!fIsXPointerResolved) {
fIsXPointerResolved = resolved;
}
return resolved;
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// clreplaced Scanner
// ************************************************************************
// Overridden XMLDoreplacedentHandler methods
// ************************************************************************
/**
* If the comment is a child of a matched element, then preplaced else return.
*
* @param text The text in the comment.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by application to signal an error.
*/
public void comment(XMLString text, Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.comment(text, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* The start of a CDATA section.
*
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void startCDATA(Augmentations augs) throws XNIException {
if (!isChildFragmentResolved()) {
return;
}
super.startCDATA(augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* An empty element.
*
* @param element The name of the element.
* @param attributes The element attributes.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void emptyElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException {
if (!resolveXPointer(element, attributes, augs, XPointerPart.EVENT_ELEMENT_EMPTY)) {
// xml:base and xml:lang processing
if (fFixupBase) {
processXMLBaseAttributes(attributes);
}
if (fFixupLang) {
processXMLLangAttributes(attributes);
}
// no need to restore restoreBaseURI() for xml:base and xml:lang processing
// set the context invalid if the element till an element from the result infoset is included
fNamespaceContext.setContextInvalid();
return;
}
super.emptyElement(element, attributes, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* The end of an element.
*
* @param element The name of the element.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void endElement(QName element, Augmentations augs) throws XNIException {
if (!resolveXPointer(element, null, augs, XPointerPart.EVENT_ELEMENT_END)) {
// no need to restore restoreBaseURI() for xml:base and xml:lang processing
return;
}
super.endElement(element, augs);
}
19
Source : XPointerHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* The start of an element.
*
* @param element The name of the element.
* @param attributes The element attributes.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void startElement(QName element, XMLAttributes attributes, Augmentations augs) throws XNIException {
if (!resolveXPointer(element, attributes, augs, XPointerPart.EVENT_ELEMENT_START)) {
// xml:base and xml:lang processing
if (fFixupBase) {
processXMLBaseAttributes(attributes);
}
if (fFixupLang) {
processXMLLangAttributes(attributes);
}
// set the context invalid if the element till an element from the result infoset is included
fNamespaceContext.setContextInvalid();
return;
}
super.startElement(element, attributes, augs);
}
19
Source : ShortHandPointer.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* @param element
* @param attributes
* @param augs
* @param event
* @return
* @throws XNIException
*/
private boolean hasMatchingIdentifier(QName element, XMLAttributes attributes, Augmentations augs, int event) throws XNIException {
String normalizedValue = null;
// The identifiers of an element are determined by the
// ShortHand Pointer as follows:
if (attributes != null) {
for (int i = 0; i < attributes.getLength(); i++) {
// 1. If an element information item has an attribute information item
// among its [attributes] that is a schema-determined ID, then it is
// identified by the value of that attribute information item's
// [schema normalized value] property;
normalizedValue = getSchemaDeterminedID(attributes, i);
if (normalizedValue != null) {
break;
}
// 2. If an element information item has an element information item among
// its [children] that is a schema-determined ID, then it is identified by
// the value of that element information item's [schema normalized value] property;
// ???
normalizedValue = getChildrenSchemaDeterminedID(attributes, i);
if (normalizedValue != null) {
break;
}
// 3. If an element information item has an attribute information item among
// its [attributes] that is a DTD-determined ID, then it is identified by the
// value of that attribute information item's [normalized value] property.
// An attribute information item is a DTD-determined ID if and only if it has
// a [type definition] property whose value is equal to ID.
normalizedValue = getDTDDeterminedID(attributes, i);
if (normalizedValue != null) {
break;
}
// 4. No externally determined ID's
}
}
if (normalizedValue != null && normalizedValue.equals(fShortHandPointer)) {
return true;
}
return false;
}
19
Source : ShortHandPointer.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* Returns the schema-determined-ID.
*
* @param attributes
* @param index
* @return A String containing the schema-determined ID.
* @throws XNIException
*/
public String getSchemaDeterminedID(XMLAttributes attributes, int index) throws XNIException {
Augmentations augs = attributes.getAugmentations(index);
AttributePSVI attrPSVI = (AttributePSVI) augs.gereplacedem(Constants.ATTRIBUTE_PSVI);
if (attrPSVI != null) {
// An element or attribute information item is a schema-determined
// ID if and only if one of the following is true:]
// 1. It has a [member type definition] or [type definition] property
// whose value in turn has [name] equal to ID and [target namespace]
// equal to http://www.w3.org/2001/XMLSchema;
// 2. It has a [base type definition] whose value has that [name] and [target namespace];
// 3. It has a [base type definition] whose value has a [base type definition]
// whose value has that [name] and [target namespace], and so on following
// the [base type definition] property recursively;
XSTypeDefinition typeDef = attrPSVI.getMemberTypeDefinition();
if (typeDef != null) {
typeDef = attrPSVI.getTypeDefinition();
}
//
if (typeDef != null && ((XSSimpleType) typeDef).isIDType()) {
return attrPSVI.getSchemaNormalizedValue();
}
// 4 & 5 NA
}
return null;
}
19
Source : ShortHandPointer.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public boolean resolveXPointer(QName element, XMLAttributes attributes, Augmentations augs, int event) throws XNIException {
// reset fIsFragmentResolved
if (fMatchingChildCount == 0) {
fIsFragmentResolved = false;
}
// On startElement or emptyElement, if no matching elements or parent
// elements were found, check for a matching idenfitier.
if (event == XPointerPart.EVENT_ELEMENT_START) {
if (fMatchingChildCount == 0) {
fIsFragmentResolved = hasMatchingIdentifier(element, attributes, augs, event);
}
if (fIsFragmentResolved) {
fMatchingChildCount++;
}
} else if (event == XPointerPart.EVENT_ELEMENT_EMPTY) {
if (fMatchingChildCount == 0) {
fIsFragmentResolved = hasMatchingIdentifier(element, attributes, augs, event);
}
} else {
// On endElement, decrease the matching child count if the child or
// its parent was resolved.
if (fIsFragmentResolved) {
fMatchingChildCount--;
}
}
return fIsFragmentResolved;
}
19
Source : ElementSchemePointer.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* Responsible for resolving the element() scheme XPointer. If a ShortHand
* Pointer is present and it is successfully resolved and if a child
* sequence is present, the child sequence is resolved relative to it.
*
* @see com.sun.org.apache.xerces.internal.xpointer.XPointerProcessor#resolveXPointer(com.sun.org.apache.xerces.internal.xni.QName, com.sun.org.apache.xerces.internal.xni.XMLAttributes, com.sun.org.apache.xerces.internal.xni.Augmentations, int event)
*/
public boolean resolveXPointer(QName element, XMLAttributes attributes, Augmentations augs, int event) throws XNIException {
boolean isShortHandPointerResolved = false;
// if a ChildSequence exisits, resolve child elements
// if an element name exists
if (fShortHandPointerName != null) {
// resolve ShortHand Pointer
isShortHandPointerResolved = fShortHandPointer.resolveXPointer(element, attributes, augs, event);
if (isShortHandPointerResolved) {
fIsResolveElement = true;
fIsShortHand = true;
} else {
fIsResolveElement = false;
}
} else {
fIsResolveElement = true;
}
// Added here to skip the ShortHand pointer corresponding to
// an element if one exisits and start searching from its child
if (fChildSequence.length > 0) {
fIsFragmentResolved = matchChildSequence(element, event);
} else if (isShortHandPointerResolved && fChildSequence.length <= 0) {
// if only a resolved shorthand pointer exists
fIsFragmentResolved = isShortHandPointerResolved;
} else {
fIsFragmentResolved = false;
}
return fIsFragmentResolved;
}
19
Source : XPointerElementHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public void doctypeDecl(String rootElement, String publicId, String systemId, Augmentations augs) throws XNIException {
}
19
Source : XPointerElementHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public void endDoreplacedent(Augmentations augs) throws XNIException {
}
19
Source : XPointerElementHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public void xmlDecl(String version, String encoding, String standalone, Augmentations augs) throws XNIException {
}
19
Source : XPointerElementHandler.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// ///////// END TOKEN PLAYGROUND ///////////////
// /// START OF IMPLEMTATION OF XMLDoreplacedentHandler methods //////////
public void startDoreplacedent(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException {
getTokens();
}
19
Source : XMLDocumentFilterImpl.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public void endDoreplacedent(Augmentations augs) throws XNIException {
next.endDoreplacedent(augs);
}
19
Source : XMLAttributesImpl.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* Sets the augmentations of the attribute at the specified index.
*
* @param attrIndex The attribute index.
* @param augs The augmentations.
*/
public void setAugmentations(int attrIndex, Augmentations augs) {
fAttributes[attrIndex].augs = augs;
}
19
Source : TeeXMLDocumentFilterImpl.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
public void endDoreplacedent(Augmentations augs) throws XNIException {
side.endDoreplacedent(augs);
next.endDoreplacedent(augs);
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// notationDecl
/**
* The start of a conditional section.
*
* @param type The type of the conditional section. This value will
* either be CONDITIONAL_INCLUDE or CONDITIONAL_IGNORE.
*
* @throws XNIException Thrown by handler to signal an error.
*
* @see XMLDTDHandler#CONDITIONAL_INCLUDE
* @see XMLDTDHandler#CONDITIONAL_IGNORE
*/
public void startConditional(short type, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// endExternalSubset
/**
* An element declaration.
*
* @param name The name of the element.
* @param contentModel The element content model.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void elementDecl(String name, String contentModel, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// externalEnreplacedyDecl
/**
* An unparsed enreplacedy declaration.
*
* @param name The name of the enreplacedy.
* @param identifier An object containing all location information
* pertinent to this enreplacedy.
* @param notation The name of the notation.
*
* @param augmentations Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void unparsedEnreplacedyDecl(String name, XMLResourceIdentifier identifier, String notation, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// endDTD
/**
* This method notifies the end of an enreplacedy. The DTD has the pseudo-name
* of "[dtd]" and parameter enreplacedy names start with '%'.
* <p>
* <strong>Note:</strong> Since the DTD is an enreplacedy, the handler
* will be notified of the end of the DTD enreplacedy by calling the
* endEnreplacedy method with the enreplacedy name "[dtd]" <em>after</em> calling
* the endDTD method.
*
* @param name The name of the enreplacedy.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endEnreplacedy(String name, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// startConditional
/**
* The end of a conditional section.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endConditional(Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// unparsedEnreplacedyDecl
/**
* A notation declaration
*
* @param name The name of the notation.
* @param identifier An object containing all location information
* pertinent to this notation.
* @param augmentations Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void notationDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// startExternalSubset
/**
* The end of the external subset.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endExternalSubset(Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// comment
/**
* A processing instruction. Processing instructions consist of a
* target name and, optionally, text data. The data is only meaningful
* to the application.
* <p>
* Typically, a processing instruction's data will contain a series
* of pseudo-attributes. These pseudo-attributes follow the form of
* element attributes but are <strong>not</strong> parsed or presented
* to the application as anything other than text. The application is
* responsible for parsing the data.
*
* @param target The target.
* @param data The data or null if none specified.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void processingInstruction(String target, XMLString data, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// elementDecl
/**
* The start of an attribute list.
*
* @param elementName The name of the element that this attribute
* list is replacedociated with.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void startAttlist(String elementName, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// attributeDecl
/**
* The end of an attribute list.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endAttlist(Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// processingInstruction
/**
* The start of the external subset.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void startExternalSubset(XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* The start of the DTD.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void startDTD(XMLLocator locator, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// endConditional
/**
* The end of the DTD.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endDTD(Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// internalEnreplacedyDecl(String,XMLString,XMLString)
/**
* An external enreplacedy declaration.
*
* @param name The name of the enreplacedy. Parameter enreplacedy names start
* with '%', whereas the name of a general enreplacedy is just
* the enreplacedy name.
* @param identifier An object containing all location information
* pertinent to this enreplacedy.
* @param augmentations Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void externalEnreplacedyDecl(String name, XMLResourceIdentifier identifier, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// endAttlist
/**
* An internal enreplacedy declaration.
*
* @param name The name of the enreplacedy. Parameter enreplacedy names start with
* '%', whereas the name of a general enreplacedy is just the
* enreplacedy name.
* @param text The value of the enreplacedy.
* @param nonNormalizedText The non-normalized value of the enreplacedy. This
* value contains the same sequence of characters that was in
* the internal enreplacedy declaration, without any enreplacedy
* references expanded.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void internalEnreplacedyDecl(String name, XMLString text, XMLString nonNormalizedText, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
/**
* A comment.
*
* @param text The text in the comment.
*
* @throws XNIException Thrown by application to signal an error.
*/
public void comment(XMLString text, Augmentations augmentations) throws XNIException {
}
19
Source : DTDParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// startAttlist
/**
* An attribute declaration.
*
* @param elementName The name of the element that this attribute
* is replacedociated with.
* @param attributeName The name of the attribute.
* @param type The attribute type. This value will be one of
* the following: "CDATA", "ENreplacedY", "ENreplacedIES",
* "ENUMERATION", "ID", "IDREF", "IDREFS",
* "NMTOKEN", "NMTOKENS", or "NOTATION".
* @param enumeration If the type has the value "ENUMERATION", this
* array holds the allowed attribute values;
* otherwise, this array is null.
* @param defaultType The attribute default type. This value will be
* one of the following: "#FIXED", "#IMPLIED",
* "#REQUIRED", or null.
* @param defaultValue The attribute default value, or null if no
* default value is specified.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void attributeDecl(String elementName, String attributeName, String type, String[] enumeration, String defaultType, XMLString defaultValue, XMLString nonNormalizedDefaultValue, Augmentations augmentations) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// internalEnreplacedyDecl(String,XMLString,XMLString)
/**
* An external enreplacedy declaration.
*
* @param name The name of the enreplacedy. Parameter enreplacedy names start
* with '%', whereas the name of a general enreplacedy is just
* the enreplacedy name.
* @param identifier An object containing all location information
* pertinent to this enreplacedy.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void externalEnreplacedyDecl(String name, XMLResourceIdentifier identifier, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// ignoredCharacters(XMLString, Augmentations)
/**
* An element declaration.
*
* @param name The name of the element.
* @param contentModel The element content model.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void elementDecl(String name, String contentModel, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// textDecl(String, String, Augmentations)
/**
* This method notifies the end of an enreplacedy.
* <p>
* <strong>Note:</strong> This method is not called for enreplacedy references
* appearing as part of attribute values.
*
* @param name The name of the enreplacedy.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void endGeneralEnreplacedy(String name, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// occurence(short, Augmentations)
/**
* The end of a group for mixed or children content models.
*
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endGroup(Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// startParameterEnreplacedy(String,XMLResourceIdentifier,String,Augmentations)
/**
* This method notifies the end of an enreplacedy.
* <p>
* <strong>Note:</strong> This method is not called for enreplacedy references
* appearing as part of attribute values.
*
* @param name The name of the enreplacedy.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void endParameterEnreplacedy(String name, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// startGeneralEnreplacedy(String,XMLResourceIdentifier,String,Augmentations)
/**
* Notifies of the presence of a TextDecl line in an enreplacedy. If present,
* this method will be called immediately following the startEnreplacedy call.
* <p>
* <strong>Note:</strong> This method will never be called for the
* doreplacedent enreplacedy; it is only called for external general enreplacedies
* referenced in doreplacedent content.
* <p>
* <strong>Note:</strong> This method is not called for enreplacedy references
* appearing as part of attribute values.
*
* @param version The XML version, or null if not specified.
* @param encoding The IANA encoding name of the enreplacedy.
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException
* Thrown by handler to signal an error.
*/
public void textDecl(String version, String encoding, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// endDoreplacedent()
/**
* This method notifies the start of an enreplacedy.
* <p>
* <strong>Note:</strong> This method is not called for enreplacedy references
* appearing as part of attribute values.
*
* @param name The name of the enreplacedy.
* @param identifier The resource identifier.
* @param encoding The auto-detected IANA encoding name of the enreplacedy
* stream. This value will be null in those situations
* where the enreplacedy encoding is not auto-detected (e.g.
* internal enreplacedies or a doreplacedent enreplacedy that is
* parsed from a java.io.Reader).
* @param augs Additional information that may include infoset augmentations
*
* @exception XNIException Thrown by handler to signal an error.
*/
public void startGeneralEnreplacedy(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// pcdata(Augmentations)
/**
* A referenced element in a mixed or children content model.
*
* @param elementName The name of the referenced element.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void element(String elementName, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// elementDecl(String,String)
/**
* The start of an attribute list.
*
* @param elementName The name of the element that this attribute
* list is replacedociated with.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void startAttlist(String elementName, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// separator(short, Augmentations)
/**
* The occurrence count for a child in a children content model or
* for the mixed content model group.
*
* @param occurrence The occurrence count for the last element
* or group.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*
* @see #OCCURS_ZERO_OR_ONE
* @see #OCCURS_ZERO_OR_MORE
* @see #OCCURS_ONE_OR_MORE
*/
public void occurrence(short occurrence, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// notationDecl(String,XMLResourceIdentifier, Augmentations)
/**
* The start of a conditional section.
*
* @param type The type of the conditional section. This value will
* either be CONDITIONAL_INCLUDE or CONDITIONAL_IGNORE.
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*
* @see #CONDITIONAL_INCLUDE
* @see #CONDITIONAL_IGNORE
*/
public void startConditional(short type, Augmentations augs) throws XNIException {
}
19
Source : AbstractXMLDocumentParser.java
with MIT License
from wupeixuan
with MIT License
from wupeixuan
// attributeDecl(String,String,String,String[],String,XMLString, XMLString, Augmentations)
/**
* The end of an attribute list.
*
* @param augs Additional information that may include infoset
* augmentations.
*
* @throws XNIException Thrown by handler to signal an error.
*/
public void endAttlist(Augmentations augs) throws XNIException {
}
See More Examples