public class FileShareTypeManager extends Object
Constructor and Description |
---|
FileShareTypeManager() |
Modifier and Type | Method and Description |
---|---|
void |
addTypeDefinition(TypeDefinition type)
Adds a type definition.
|
TypeDefinition |
getInternalTypeDefinition(String typeId)
Returns the internal type definition.
|
Collection<TypeDefinition> |
getInternalTypeDefinitions()
Returns all internal type definitions.
|
TypeDefinitionList |
getTypeChildren(CallContext context,
String typeId,
Boolean includePropertyDefinitions,
BigInteger maxItems,
BigInteger skipCount) |
TypeDefinition |
getTypeDefinition(CallContext context,
String typeId) |
List<TypeDefinitionContainer> |
getTypeDescendants(CallContext context,
String typeId,
BigInteger depth,
Boolean includePropertyDefinitions) |
void |
loadTypeDefinitionFromFile(String filename) |
void |
loadTypeDefinitionFromResource(String name) |
void |
loadTypeDefinitionFromStream(InputStream stream) |
String |
toString() |
public void addTypeDefinition(TypeDefinition type)
public void loadTypeDefinitionFromFile(String filename) throws IOException, javax.xml.stream.XMLStreamException
public void loadTypeDefinitionFromResource(String name) throws IOException, javax.xml.stream.XMLStreamException
public void loadTypeDefinitionFromStream(InputStream stream) throws IOException, javax.xml.stream.XMLStreamException
public TypeDefinition getInternalTypeDefinition(String typeId)
public Collection<TypeDefinition> getInternalTypeDefinitions()
public TypeDefinition getTypeDefinition(CallContext context, String typeId)
public TypeDefinitionList getTypeChildren(CallContext context, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount)
public List<TypeDefinitionContainer> getTypeDescendants(CallContext context, String typeId, BigInteger depth, Boolean includePropertyDefinitions)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.