@Override public void startDocument(int properties) throws XPathException { if (outputter == null) { createTree((properties & ReceiverOptions.MUTABLE_TREE) != 0); } if (level++ == 0) { outputter.startDocument(properties); } }
/** * Start of a document node. */ public void startDocument(int properties) throws XPathException { if (outputter==null) { createTree(); } if (level++ == 0) { outputter.startDocument(properties); } }
@Override public void startDocument(int properties) throws XPathException { if (outputter == null) { createTree((properties & ReceiverOptions.MUTABLE_TREE) != 0); } if (level++ == 0) { outputter.startDocument(properties); } }
/** * Start of a document node. */ public void startDocument(int properties) throws XPathException { if (outputter==null) { createTree(); } if (level++ == 0) { outputter.startDocument(properties); } }
@Override public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException { if (inStartTag) { startContent(); } if (outputter == null) { createTree((properties & ReceiverOptions.MUTABLE_TREE) != 0); } //System.err.println("SEQUENCE_WRITER startElement " + this); outputter.startElement(elemName, typeCode, location, properties); level++; inStartTag = true; previousAtomic = false; }
@Override public void startElement(NodeName elemName, SchemaType typeCode, Location location, int properties) throws XPathException { if (inStartTag) { startContent(); } if (outputter == null) { createTree((properties & ReceiverOptions.MUTABLE_TREE) != 0); } //System.err.println("SEQUENCE_WRITER startElement " + this); outputter.startElement(elemName, typeCode, location, properties); level++; inStartTag = true; previousAtomic = false; }
/** * Output an element start tag. * @param nameCode The element name code - a code held in the Name Pool * @param typeCode Integer code identifying the type of this element. Zero identifies the default * type, that is xs:anyType * @param properties bit-significant flags indicating any special information */ public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } if (outputter==null) { createTree(); } outputter.startElement(nameCode, typeCode, locationId, properties); level++; inStartTag = true; previousAtomic = false; }
/** * Output an element start tag. * @param nameCode The element name code - a code held in the Name Pool * @param typeCode Integer code identifying the type of this element. Zero identifies the default * type, that is xs:anyType * @param properties bit-significant flags indicating any special information */ public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException { if (inStartTag) { startContent(); } if (outputter==null) { createTree(); } outputter.startElement(nameCode, typeCode, locationId, properties); level++; inStartTag = true; previousAtomic = false; }