|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.jcr.exporter.JCRSystemXMLExporter
public class JCRSystemXMLExporter
Alfresco Implementation of JCR System XML Exporter
| Field Summary | |
|---|---|
static java.lang.String |
NAME_LOCALNAME
|
static QName |
NAME_QNAME
|
static java.lang.String |
NODE_LOCALNAME
|
static QName |
NODE_QNAME
|
static java.lang.String |
PROPERTY_LOCALNAME
|
static QName |
PROPERTY_QNAME
|
static java.lang.String |
TYPE_LOCALNAME
|
static QName |
TYPE_QNAME
|
static java.lang.String |
VALUE_LOCALNAME
|
static QName |
VALUE_QNAME
|
| Constructor Summary | |
|---|---|
JCRSystemXMLExporter(SessionImpl session,
org.xml.sax.ContentHandler contentHandler)
Construct |
|
| Method Summary | |
|---|---|
void |
content(NodeRef nodeRef,
QName property,
java.io.InputStream content,
ContentData contentData,
int index)
Export content stream property value |
void |
end()
End export |
void |
endACL(NodeRef nodeRef)
End export of ACL |
void |
endAspect(NodeRef nodeRef,
QName aspect)
End export of aspect |
void |
endAspects(NodeRef nodeRef)
End export of aspects |
void |
endAssoc(NodeRef nodeRef,
QName assoc)
End export of association |
void |
endAssocs(NodeRef nodeRef)
End export of associations |
void |
endNamespace(java.lang.String prefix)
End export of namespace |
void |
endNode(NodeRef nodeRef)
End export of node |
void |
endProperties(NodeRef nodeRef)
End export of properties |
void |
endProperty(NodeRef nodeRef,
QName property)
End export of property |
void |
endReference(NodeRef nodeRef)
End export of node reference |
void |
endValueCollection(NodeRef nodeRef,
QName property)
Export end of value collection |
void |
endValueMLText(NodeRef nodeRef)
End export MLText |
void |
permission(NodeRef nodeRef,
AccessPermission permission)
Export permission |
void |
start(ExporterContext exportNodeRef)
Start of Export |
void |
startACL(NodeRef nodeRef)
Start export of ACL |
void |
startAspect(NodeRef nodeRef,
QName aspect)
Start export of aspect |
void |
startAspects(NodeRef nodeRef)
Start export of aspects |
void |
startAssoc(NodeRef nodeRef,
QName assoc)
Start export of association |
void |
startAssocs(NodeRef nodeRef)
Start export of associations |
void |
startNamespace(java.lang.String prefix,
java.lang.String uri)
Start export of namespace |
void |
startNode(NodeRef nodeRef)
Start export of node |
void |
startProperties(NodeRef nodeRef)
Start export of properties |
void |
startProperty(NodeRef nodeRef,
QName property)
Start export of property |
void |
startReference(NodeRef nodeRef,
QName childName)
Start export of node reference |
void |
startValueCollection(NodeRef nodeRef,
QName property)
Export start of value collection |
void |
startValueMLText(NodeRef nodeRef,
java.util.Locale locale)
Start export MLText |
void |
value(NodeRef nodeRef,
QName property,
java.lang.Object value,
int index)
Export property value |
void |
warning(java.lang.String warning)
Export warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NODE_LOCALNAME
public static final java.lang.String NAME_LOCALNAME
public static final java.lang.String PROPERTY_LOCALNAME
public static final java.lang.String TYPE_LOCALNAME
public static final java.lang.String VALUE_LOCALNAME
public static final QName NODE_QNAME
public static final QName NAME_QNAME
public static final QName PROPERTY_QNAME
public static final QName TYPE_QNAME
public static final QName VALUE_QNAME
| Constructor Detail |
|---|
public JCRSystemXMLExporter(SessionImpl session,
org.xml.sax.ContentHandler contentHandler)
namespaceService - namespace servicenodeService - node servicecontentHandler - content handler| Method Detail |
|---|
public void start(ExporterContext exportNodeRef)
Exporter
start in interface Exporter
public void startNamespace(java.lang.String prefix,
java.lang.String uri)
Exporter
startNamespace in interface Exporterprefix - namespace prefixuri - namespace uripublic void endNamespace(java.lang.String prefix)
Exporter
endNamespace in interface Exporterprefix - namespace prefixpublic void startNode(NodeRef nodeRef)
Exporter
startNode in interface ExporternodeRef - the node referencepublic void endNode(NodeRef nodeRef)
Exporter
endNode in interface ExporternodeRef - the node referencepublic void startAspects(NodeRef nodeRef)
Exporter
startAspects in interface Exporterpublic void endAspects(NodeRef nodeRef)
Exporter
endAspects in interface Exporter
public void startAspect(NodeRef nodeRef,
QName aspect)
Exporter
startAspect in interface ExporternodeRef - the node referenceaspect - the aspect
public void endAspect(NodeRef nodeRef,
QName aspect)
Exporter
endAspect in interface ExporternodeRef - the node referenceaspect - the aspectpublic void startACL(NodeRef nodeRef)
Exporter
startACL in interface ExporternodeRef - for node reference
public void permission(NodeRef nodeRef,
AccessPermission permission)
Exporter
permission in interface ExporternodeRef - for node referencepermission - the permissionpublic void endACL(NodeRef nodeRef)
Exporter
endACL in interface ExporternodeRef - for node referencepublic void startProperties(NodeRef nodeRef)
Exporter
startProperties in interface ExporternodeRef - the node referencepublic void endProperties(NodeRef nodeRef)
Exporter
endProperties in interface ExporternodeRef - the node reference
public void startProperty(NodeRef nodeRef,
QName property)
Exporter
startProperty in interface ExporternodeRef - the node referenceproperty - the property name
public void endProperty(NodeRef nodeRef,
QName property)
Exporter
endProperty in interface ExporternodeRef - the node referenceproperty - the property name
public void startValueCollection(NodeRef nodeRef,
QName property)
Exporter
startValueCollection in interface ExporternodeRef - the node referenceproperty - the property name
public void endValueCollection(NodeRef nodeRef,
QName property)
Exporter
endValueCollection in interface ExporternodeRef - the node referenceproperty - the property name
public void value(NodeRef nodeRef,
QName property,
java.lang.Object value,
int index)
Exporter
value in interface ExporternodeRef - the node referenceproperty - the property namevalue - the valueindex - value index (or -1, if not part of multi-valued collection)
public void content(NodeRef nodeRef,
QName property,
java.io.InputStream content,
ContentData contentData,
int index)
Exporter
content in interface ExporternodeRef - the node referenceproperty - the property namecontent - the content streamcontentData - content descriptorindex - value index (or -1, if not part of multi-valued collection)
public void startAssoc(NodeRef nodeRef,
QName assoc)
Exporter
startAssoc in interface ExporternodeRef - the node referenceassoc - the association name
public void endAssoc(NodeRef nodeRef,
QName assoc)
Exporter
endAssoc in interface ExporternodeRef - the node referenceassoc - the association namepublic void startAssocs(NodeRef nodeRef)
Exporter
startAssocs in interface Exporterpublic void endAssocs(NodeRef nodeRef)
Exporter
endAssocs in interface Exporter
public void startReference(NodeRef nodeRef,
QName childName)
Exporter
startReference in interface ExporternodeRef - the node referencepublic void endReference(NodeRef nodeRef)
Exporter
endReference in interface ExporternodeRef - the node referencepublic void endValueMLText(NodeRef nodeRef)
Exporter
endValueMLText in interface Exporter
public void startValueMLText(NodeRef nodeRef,
java.util.Locale locale)
Exporter
startValueMLText in interface ExporternodeRef - the node referencepublic void warning(java.lang.String warning)
Exporter
warning in interface Exporterwarning - the warning messagepublic void end()
Exporter
end in interface Exporter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||