/** Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; } // emptyAttributes():XMLAttributes
/** * Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; } // emptyAttributes():XMLAttributes
/** Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; } // emptyAttributes():XMLAttributes
/** Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; } // emptyAttributes():XMLAttributes
/** * <p> * removeAllAttributes * </p> * * */ public void removeAllAttributes() { attrs.removeAllAttributes(); } /**
/** Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; }
/** Returns a set of empty attributes. */ protected final XMLAttributes emptyAttributes() { fEmptyAttrs.removeAllAttributes(); return fEmptyAttrs; } // emptyAttributes():XMLAttributes
/** Empty content model. */ public void empty(Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fDocumentHandler.emptyElement(E_EMPTY, fAttributes, augs); } } // empty(Augmentations)
/** Parsed character data for mixed content model. */ public void pcdata(Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fDocumentHandler.emptyElement(E_PCDATA, fAttributes, augs); } } // pcdata(Augmentations)
/** Any content model. */ public void any(Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fDocumentHandler.emptyElement(E_ANY, fAttributes, augs); } } // any(Augmentations)
/** Start mixed or children content model group. */ public void startGroup(Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fDocumentHandler.startElement(E_GROUP, fAttributes, augs); } } // startGroup(Augmentations)
/** Start attribute list. */ public void startAttlist(String ename, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_ENAME, "NMTOKEN", ename); fAttributes.setSpecified(0, true); fDocumentHandler.startElement(E_ATTLIST, fAttributes, augs); } } // startAttlist(String,Augmentations)
/** Separator in mixed or children content model. */ public void separator(short type, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { String groupType = type == SEPARATOR_CHOICE ? "|" : ","; fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_TYPE, "CDATA", groupType); fAttributes.setSpecified(0, true); fDocumentHandler.emptyElement(E_SEPARATOR, fAttributes, augs); } } // separator(short,Augmentations)
/** Element reference in mixed or children content model. */ public void element(String name, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_NAME, "NMTOKEN", name); fAttributes.setSpecified(0, true); fDocumentHandler.emptyElement(E_ELEMENT, fAttributes, augs); } } // element(String,Augmentations)
/** Start conditional section. */ public void startConditional(short type, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { String conditional = type == CONDITIONAL_IGNORE ? "IGNORE" : "INCLUDE"; fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_TYPE, T_CONDITIONAL, conditional); fAttributes.setSpecified(0, true); fDocumentHandler.startElement(E_CONDITIONAL, fAttributes, augs); } } // startConditional(short,Augmentations)
/** Occurrence count in mixed or children content model. */ public void occurrence(short type, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { String occurs = type == OCCURS_ONE_OR_MORE ? "+" : type == OCCURS_ZERO_OR_MORE ? "*" : type == OCCURS_ZERO_OR_ONE ? "?" : null; fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_TYPE, "CDATA", occurs); fAttributes.setSpecified(0, true); fDocumentHandler.emptyElement(E_OCCURRENCE, fAttributes, augs); } } // occurrence(short,Augmentations)
/** Start content model. */ public void startContentModel(String ename, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_ENAME, "NMTOKEN", ename); fAttributes.setSpecified(0, true); fDocumentHandler.startElement(E_CONTENT_MODEL, fAttributes, augs); } } // startContentModel(String,Augmentations)
/** Element declaration. */ public void elementDecl(String ename, String model, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_ENAME, "NMTOKEN", ename); fAttributes.setSpecified(0, true); fAttributes.addAttribute(A_MODEL, "CDATA", model); fAttributes.setSpecified(1, true); fDocumentHandler.emptyElement(E_ELEMENT_DECL, fAttributes, augs); } } // elementDecl(String,String,Augmentations)
/** Internal entity declaration. */ public void internalEntityDecl(String name, XMLString value, XMLString nonvalue, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_NAME, "NMTOKEN", name); fAttributes.setSpecified(0, true); fAttributes.addAttribute(A_VALUE, "CDATA", value.toString()); fAttributes.setSpecified(1, true); fDocumentHandler.emptyElement(E_INTERNAL_ENTITY_DECL, fAttributes, augs); } } // internalEntityDecl(String,XMLString,XMLString,Augmentations)
/** Processing instruction. */ public void processingInstruction(String target, XMLString data, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fAttributes.removeAllAttributes(); fAttributes.addAttribute(A_TARGET, "NMTOKEN", target); fAttributes.setSpecified(0, true); fAttributes.addAttribute(A_DATA, "CDATA", data.toString()); fAttributes.setSpecified(1, true); fDocumentHandler.emptyElement(E_PROCESSING_INSTRUCTION, fAttributes, augs); } } // processingInstruction(String,XMLString,Augmentations)