public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, augs); } }
/** Start document. */ @Override public void startDocument(XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startDocument(locator, encoding, nscontext, augs); } }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, augs); } }
public void startDocument( XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException { side.startDocument(locator, encoding, namespaceContext, augs); next.startDocument(locator, encoding, namespaceContext, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, nscontext, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, nscontext, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, nscontext, augs); }
public void XMLDocumentHandler_startDocument(XMLDocumentHandler documentHandler, XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) { documentHandler.startDocument(locator, encoding, nscontext, augs); }
/** * The start of the document. * * @param locator The system identifier of the entity if the entity * is external, null otherwise. * @param encoding The auto-detected IANA encoding name of the entity * stream. This value will be null in those situations * where the entity encoding is not auto-detected (e.g. * internal entities or a document entity that is * parsed from a java.io.Reader). * @param namespaceContext * The namespace context in effect at the * start of this document. * This object represents the current context. * Implementors of this class are responsible * for copying the namespace bindings from the * the current context (and its parent contexts) * if that information is important. * @param augs Additional information that may include infoset augmentations * * @throws XNIException Thrown by handler to signal an error. */ public void startDocument(XMLLocator locator, String encoding, NamespaceContext namespaceContext, Augmentations augs) throws XNIException { fNamespaceContext = namespaceContext; if (fDocumentHandler != null && !fOnlyPassPrefixMappingEvents) { fDocumentHandler.startDocument(locator, encoding, namespaceContext, augs); } } // startDocument(XMLLocator,String)
/** * @see org.apache.xerces.xni.XMLDocumentHandler#startDocument(org.apache.xerces.xni.XMLLocator, * java.lang.String, org.apache.xerces.xni.NamespaceContext, * org.apache.xerces.xni.Augmentations) */ public void startDocument(XMLLocator locator, String enc, NamespaceContext nc, Augmentations aug) throws XNIException { context = nc; baseSystemId = locator.getBaseSystemId(); detecting = true; schema = null; type = null; if (documentHandler != null) { documentHandler.startDocument(locator, enc, nc, aug); } }
/** * This method notifies of the start of an entity. The DTD has the * pseudo-name of "[dtd]" parameter entity names start with '%'; and * general entities are just specified by their name. * * @param name The name of the entity. * @param identifier The resource identifier. * @param encoding The auto-detected IANA encoding name of the entity * stream. This value will be null in those situations * where the entity encoding is not auto-detected (e.g. * internal entities or a document entity that is * parsed from a java.io.Reader). * * @throws XNIException Thrown by handler to signal an error. */ public void startEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException { super.startEntity(name, identifier, encoding, augs); // prepare to look for a TextDecl if external general entity if (!name.equals("[xml]") && fEntityScanner.isExternal()) { setScannerState(SCANNER_STATE_TEXT_DECL); } // call handler if (fDocumentHandler != null && name.equals("[xml]")) { fDocumentHandler.startDocument(fEntityScanner, encoding, fNamespaceContext, null); } } // startEntity(String,identifier,String)
fDocumentHandler.startDocument(locator, encoding, namespaceContext, augs);
/** Start document. */ @Override public void startDocument(XMLLocator locator, String encoding, NamespaceContext nscontext, Augmentations augs) throws XNIException { // reset state fElementStack.top = 0; if (fragmentContextStack_ != null) { fragmentContextStackSize_ = fragmentContextStack_.length; for (final QName name : fragmentContextStack_) { final Element elt = htmlConfiguration_.htmlElements_.getElement(name.localpart); fElementStack.push(new Info(elt, name)); } } else { fragmentContextStackSize_ = 0; } // pass on event if (fDocumentHandler != null) { fDocumentHandler.startDocument(locator, encoding, nscontext, augs); } }
fDocumentHandler.startDocument(locator, encoding, namespaceContext, augs);
final Augmentations augs = locationAugs(); final NamespaceContext nscontext = new NamespaceSupport(); fDocumentHandler.startDocument(locator, encoding, nscontext, augs);
fDocumentHandler.startDocument( fXIncludeLocator, encoding,