/** * Exports the given node as an <code>sv:node</code> element. */ protected void exportNode(String uri, String local, Node node) throws RepositoryException, SAXException { addAttribute(SV, "name", getXMLName(uri, local)); startElement(SV, "node"); exportProperties(node); exportNodes(node); endElement(SV, "node"); }
/** * Exports the given node as an <code>sv:node</code> element. */ protected void exportNode(String uri, String local, Node node) throws RepositoryException, SAXException { addAttribute(SV, "name", getXMLName(uri, local)); startElement(SV, "node"); exportProperties(node); exportNodes(node); endElement(SV, "node"); }
/** * Exports the given node as an <code>sv:node</code> element. */ protected void exportNode(String uri, String local, Node node) throws RepositoryException, SAXException { addAttribute(SV, "name", getXMLName(uri, local)); startElement(SV, "node"); exportProperties(node); exportNodes(node); endElement(SV, "node"); }
/** * Exports the given property as an <code>sv:property</code> element. */ protected void exportProperty( String uri, String local, int type, Value[] values) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(type)); addAttribute(SV, "multiple", Boolean.TRUE.toString()); startElement(SV, "property"); // values for (int i = 0; i < values.length; i++) { exportValue(values[i]); } endElement(SV, "property"); }
/** * Exports the given property as an <code>sv:property</code> element. */ protected void exportProperty( String uri, String local, int type, Value[] values) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(type)); addAttribute(SV, "multiple", Boolean.TRUE.toString()); startElement(SV, "property"); // values for (int i = 0; i < values.length; i++) { exportValue(values[i]); } endElement(SV, "property"); }
/** * Exports the given property as an <code>sv:property</code> element. */ protected void exportProperty( String uri, String local, int type, Value[] values) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(type)); addAttribute(SV, "multiple", Boolean.TRUE.toString()); startElement(SV, "property"); // values for (int i = 0; i < values.length; i++) { exportValue(values[i]); } endElement(SV, "property"); }
/** * Calls {@link #exportProperty(String, String, int, Value[])}. */ protected void exportProperty(String uri, String local, Value value) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(value.getType())); startElement(SV, "property"); // value exportValue(value); endElement(SV, "property"); }
/** * Calls {@link #exportProperty(String, String, int, Value[])}. */ protected void exportProperty(String uri, String local, Value value) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(value.getType())); startElement(SV, "property"); // value exportValue(value); endElement(SV, "property"); }
/** * Calls {@link #exportProperty(String, String, int, Value[])}. */ protected void exportProperty(String uri, String local, Value value) throws RepositoryException, SAXException { // start property element addAttribute(SV, "name", getXMLName(uri, local)); addAttribute(SV, "type", PropertyType.nameFromValue(value.getType())); startElement(SV, "property"); // value exportValue(value); endElement(SV, "property"); }
addAttribute(XSI, "type", getXMLName(XS, "base64Binary")); startElement(SV, "value"); ValueHelper.serialize(value, false, binary, new Writer() { public void write(char[] cbuf, int off, int len)
addAttribute(XSI, "type", getXMLName(XS, "base64Binary")); startElement(SV, "value"); ValueHelper.serialize(value, false, binary, new Writer() { public void write(char[] cbuf, int off, int len)
addAttribute(XSI, "type", getXMLName(XS, "base64Binary")); startElement(SV, "value"); ValueHelper.serialize(value, false, binary, new Writer() { public void write(char[] cbuf, int off, int len)